//2009/08/22 01:10:41
#include <iostream>
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class VowelLatin
{
public:
    string translate(string word)
    {
		string vow;
		string reg;
		for(int i=0; i<word.size(); i++)
		{
			if(isvowels(word[i])) vow += word[i];
			else reg += word[i];
		}
		return reg + vow;
    }
	private:
	bool isvowels(char c)
	{
		return (c=='A'||c=='E'||c=='I'||c=='O'||c=='U'||c=='a'||c=='e'||c=='i'||c=='o'||c=='u');
	}
};
